<?xml version="1.0" encoding="UTF-8" ?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
<xsl:output method="xml" />
<xsl:template match="/">
把此段代码拷贝到App.config或者web.config文件中
<appSettings>
	<add>
		<xsl:attribute name="key"><xsl:value-of select="Root/@DBName" /></xsl:attribute>
		<xsl:attribute name="value"><xsl:value-of select="concat('server=' , Root/@DBServer , ';uid=' , Root/@DBUid , ';pwd=' , Root/@DBPwd , ';database=' , Root/@DBName)" /></xsl:attribute>
	</add>
</appSettings>
</xsl:template>
</xsl:stylesheet>